<?php include 'header.php';?>
<!--end header -->
<?php include "koneksi.php";?>


<?php
	$id = $_GET['id'];
	$sql = mysql_query("SELECT * FROM tb_materi WHERE id_materi = $id");
	$data=mysql_fetch_array($sql);
?>

<!-- main -->
<div id="main">
<?php include 'sidebar.php';?>
    <div id="text">
        <div class="title">
        <h1><?php echo $data['judul']?></h1>
		</div>
        
		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="550" height="400" title="flash">
			  <param name="movie" value="flash/<?php echo $data['path']?>" />
			  <param name="quality" value="high" />
			  <embed src="flash/<?php echo $data['path']?>" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="400"></embed>
		</object>
		</noscript>
		<p><?php echo $data['desc']?></p>
	</div>
</div>
<!-- end main -->

<!-- footer -->
<?php include 'footer.php';?>
